Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always return an int from Symfony Command execute method #187

Merged
merged 1 commit into from
May 18, 2023

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented May 18, 2023

Symfony 5 will expect this, so be prepared.
For Symfony 4 it is optional.

Preparation for owncloud/core#39630

Note: commands should run OK with Symfony5 without explicitly declaring execute() to have return type int. So an app release is not essential.

@phil-davis phil-davis self-assigned this May 18, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@phil-davis phil-davis requested a review from jvillafanez May 18, 2023 09:40
@phil-davis phil-davis merged commit dc9138f into master May 18, 2023
@delete-merged-branch delete-merged-branch bot deleted the symfony-command-execute-int branch May 18, 2023 10:18
@jnweiger jnweiger mentioned this pull request Aug 8, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants